package com.hua.eduservice.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class TeacherQuery {

    @ApiModelProperty(value = "教师名称，模糊查询")
    private String name;
    @ApiModelProperty(value = "头衔 1高级讲师 2首席讲师")
    private Integer level;
    @ApiModelProperty(value = "查询开始时间",example="2020-01-01 10:10:10")
    @TableField(fill = FieldFill.INSERT)
    private String begin;
    @ApiModelProperty(value = "查询结束时间",example="2020-01-01 10:10:10")
    @TableField(fill = FieldFill.INSERT_UPDATE)//自动填充更新
    private String end;
}
